.btn {
  height: 86px;
  border: 1px solid #333;
  padding: 20px;
}

.adStyle {
  width: 100%;
  height: 100%;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  border-radius: 20px;

}

.ad-view-in {
  height: 100%;
  width: 100%;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.ad-view-out {
  justify-content: center;
  align-items: center;
  flex-direction: column;
  position: fixed;
  top: 0px;
  height: 100%;
  width: 100%;
  right: 0px;
}

.ad-icon-img {
  width: 100px;
  height: 100px;
  background-size: 100% 100%;
  border-radius: 15px;
}

.ad-native {
  width: 100%;
  height: 100%;
  justify-content: center;
  align-items: center;
  position: relative;
}

.ad-content {
  width: 100%;
  height: 100%;
  position: absolute;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.ad-mask {
  background-color: gray;
  opacity: 0.5;
  position: absolute;
  top: 0;
  left: 0;
  border-top-left-radius: 8px;

  text {
    font-size: 20px;
    padding: 2px;
    color: #ffffff;
  }
}

.ad-mask-close {
  flex: 1;
  background-color: gray;
  opacity: 0.5;
  position: absolute;
  top: 0;
  right: 0;
  border-top-right-radius: 8px;

  text {
    font-size: 20px;
    padding: 2px;
    color: #ffffff;
  }
}

.ad-mask-normal-border {
  border-radius: 20px;
}

.ad-mask-normal {
  background-color: gray;
  opacity: 0.5;
  position: absolute;
  top: 0;
  left: 0;
  text-align: center;
  align-items: center;
  justify-content: center;

  text {
    font-size: 20px;
    padding: 0px 2px;
    color: #ffffff;
  }

  image {
    width: 12px;
    height: 12px;
    margin-left: 3px;
    margin-right: 3px;
  }
}

.ad-element {
  background-color: rgba(0, 0, 0, 0.2);
  padding: 2px 4px;

  .element-warp {
    width: 100%;
    align-items: flex-end;
    align-items: center;
    justify-content: center;

    .element-left {
      flex: 1;
      flex-direction: row;
      align-items: center;
      justify-content: center;

      .ele-logo {
        width: 30px;
        height: 30px;
      }

      .ele-left-content {
        flex: 1;
        flex-direction: column;
        padding-left: 4px;

        .element-app-info {
          padding: 0 4px;

          .element-line {
            color: #fff;
            font-size: 14px;
            padding: 0 4px;
          }

          .omit {
            flex: 1;
            lines: 1;
            text-overflow: ellipsis;
          }

          .element-text {
            color: #fff;
            font-size: 14px;
          }
        }
      }
    }
  }

  .ele-link-width-in {
    width: 100%;
  }

  .ele-link-width {
    width: 100%;
  }

  .ele-link {
    flex-direction: row;
    justify-content: center;
    align-items: center;

    .link-text {
      flex: 1;
      font-size: 24px;
      color: blue;
      text-align: center;
    }
  }
}

.ad-element-only {
  background-color: rgba(0, 0, 0, 0.2);
  padding: 2px 4px;
  flex-direction: column;

  .element-left {
    flex: 1;
    flex-direction: row;
    align-items: center;
    justify-content: center;

    .ele-logo {
      width: 30px;
      height: 30px;
    }

    .ele-left-content {
      flex: 1;
      flex-direction: column;
      padding-left: 4px;

      .element-app-info {
        padding: 0 4px;

        .element-line {
          color: #fff;
          font-size: 14px;
          padding: 0 4px;
        }

        .omit {
          flex: 1;
          lines: 1;
          text-overflow: ellipsis;
        }

        .element-text {
          color: #fff;
          font-size: 14px;
        }
      }
    }
  }

  .ele-link-width-in {
    width: 100%;
  }

  .ele-link-width {
    width: 100%;
  }

  .ele-link {
    flex-direction: row;
    justify-content: center;
    align-items: center;

    .link-text {
      flex: 1;
      font-size: 14px;
      color: blue;
      text-align: center;
    }
  }
}

.ad-title {
  text-align: center;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  background-color: #ffffff;
  border-style: solid;
  border-color: #e6e6e6;
  flex-direction: row;
  position: relative;

  .ad-title-close {
    justify-content: flex-end;
    align-items: center;

    image {
      width: 12px;
      height: 12px;
    }
  }

  .ad-title-icon {
    background-color: #ffffff;
    text-align: center;
    align-items: center;
    justify-content: center;
    width: 140px;
    padding: 2px 4px;
    height: 28px;
    margin-left: 10px;
    border-radius: 6px;
    border: 1px solid #e6e6e6;

    text {
      font-size: 18px;
      color: #b1b1b1;
    }

    image {
      width: 12px;
      height: 12px;
      margin-left: 6px;
    }
  }
}

@keyframes btnScale {
  0% {
    transform: scaleX(0.9) scaleY(0.9);
  }

  50% {
    transform: scaleX(1) scaleY(1);
  }

  100% {
    transform: scaleX(0.9) scaleY(0.9);
  }
}

.btnScaleAni {
  animation-name: btnScale;
  animation-duration: 800ms;
  animation-iteration-count: infinite;
}

.mask {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  flex-direction: column;
}

.back-close-icon {
  width: 58px;
  height: 58px;
  position: fixed;
  left: 24px;
  top: 158px;
  object-fit: fill;
}

.before-gif {
  position: absolute;
  width: 100%;
  height: 100%;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  align-self: center;
}

.before-gif image {
  width: 100%;
}

.pop-background {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #ffffff 50%);
}

.ad-other-warp {
  display: flex;

  .ad-other-img {
    width: 120px;
    height: 120px;
    border-radius: 10px;
  }

  .ad-other-title {
    flex: 1;
    padding: 0 20px;
  }
}